<template>
	<view>
		<web-view :src="src"></web-view>
	</view>
</template>

<script>
	import _data from '../../../../common/_data.js'
	
	export default {
		data() {
			return {
				src: 'http://223.244.237.208:8077/webroot/decision/view/form?viewlet=JP_KG%252F%25E8%2583%259C%25E9%25B9%258F%25E6%2599%25BA%25E6%2595%25B0%252FForm1.frm&op=h5#/form'
			}
		},
		onLoad() {
			plus.screen.lockOrientation("landscape-primary");
			const pages = getCurrentPages()
			const page = pages[pages.length - 1];
			const currentWebview = page.$getAppWebview()
			currentWebview.setStyle({
				titleNView:{
					buttons:[{
						float:'right',
						type:'close',
						onclick:function(){
							uni.reLaunch({
								url: '../../index'
							})
						}
					}]
				}
			})
		},
		methods: {
		
		},
		onUnload() {
			plus.screen.lockOrientation("portrait-primary");
		},
	}
</script>

<style>

</style>
